package com.ruoyi.teaching.bo;

import com.ruoyi.teaching.domain.YaTeachingPlan;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddTeachingPlanBo {
    @NotNull(message = "班级名字不能为空")
    private String className;
    @NotNull(message = "课程阶段不能为空")
    private Integer stage;
    @NotNull(message = "课表不能为空")
    private List<YaTeachingPlan> teachingPlanList;
}
